function out(text) { document.write(text) }

var stopko_pl="";
var stopko_en="";
var stopko_de="";

function IncludeJavaScript(jsFile) {
  document.write('<script type="text/javascript" src="script/'
    + jsFile + '"></scr' + 'ipt>'); 
}
// Read a page's GET URL variables and return them as an associative array.
function getUrlVars() {
  var vars = [], hash;
  var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
  for(var i = 0; i < hashes.length; i++) {
    hash = hashes[i].split('=');
    vars.push(hash[0]);
    vars[hash[0]] = hash[1];
  }
  return vars;
}
var post = getUrlVars();
var lang = post["lang"];
var langVar = "pl";
if (typeof(lang)!="undefined") langVar = lang;
lang = langVar;
if (lang == "pl") lang = "";

var langSuf = "";
if (lang == "") {}
else langSuf = "_" + lang;

//  ??????_duze.png
//  ??????_male.png

function draw_image(name, width, height) {
	document.write("<img alt='");
	document.write(name);
	document.write("' src='img/");
	document.write(name);
	document.write("_duzy' width='");
	document.write(width);
	document.write("' height='");
	document.write(height);
	document.write("' />");
}

function make_big(img) {
	img.height*=3;
	img.width*= 3;
	
/*	var e = document.getElementById("ekran");
	e.innerHtml = 
			"<img alt ='' src='" + img.src + ". />";
	e.style.visibility = "visible";*/

}

function make_small(img) {
	img.height/= 3;
	img.width/= 3;
}

function powieksz(img) {
	document.getElementById("ekran").src = img.src;
}

function drawExtImage(url, desc, width) {
  out('<img alt="'+desc);
  out('" title="'+desc);
  out('" src="'+url);
  out('" width="'+width);
  //out('" height="'+height);
  out('" onmouseover="make_big(this)" onmouseout="make_small(this)"><br>\n');
}

